package main

import (
	"fmt"
	"strconv"
)

func main() {
	var orig string = "666"
	var an int
	var news string
	fmt.Printf("The size of ints is: %d\n", strconv.IntSize) // 32 or 64 操作系统位数
	an, _ = strconv.Atoi(orig)
	fmt.Printf("The value of an is: %d\n", an) //将一个表示整数的字符串转换成对应的整数值
	an = an + 1
	news = strconv.Itoa(an) //将一个整数转换成对应的字符串表示
	fmt.Printf("The value of news is: %s\n", news)
}
